package com.dfire.soa.mcsao.controller;

import com.dfire.soa.mcsao.confi.BaseUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created mangcao with 2019/11/20 11:48
 * Description:
 */
@RequestMapping("yml")
@RestController
public class YmlController {


    @Resource
    private BaseUtil baseUtil;


    @RequestMapping("v1")
    public String Test() {
        return baseUtil.getName();
    }

}
